﻿using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;

namespace DemoHangFire.Controllers;
 
public class HealthCheckController
{


    
    private IWebHostEnvironment _hostEnvironment;

    public HealthCheckController(IWebHostEnvironment _hostEnvironment)
    {
        this._hostEnvironment = _hostEnvironment;
    }
    
    [HttpGet("healthcheck")]
    public ActionResult Get()
    {

        return new OkResult();
    }
}